//
//  Criteria.m
//  EasyTip
//
//  Created by Jeffrey Palm on 2/14/09.
//  Copyright 2009 Jeffrey Palm. All rights reserved.
//

#import "Criteria.h"


@implementation Criteria

@synthesize description;
@synthesize imageName;
@synthesize value;
@synthesize parent;

-(id)initWithNameAndValue:(NSString*)theName value:(int)v parent:(Category*)p{
	if (self = [super initWithName:theName]) {
		self.value  = v;
		self.parent = p;
	}
	return self;
}

- (void) dealloc {
	[self.description release];
	[self.imageName release];
	[self.parent release];
	[super dealloc];
}

@end
